add_executable(db_test db_test.cpp)
target_link_libraries(db_test PRIVATE ${QLAYOUT_SDK_LIB_FILES})
target_link_libraries(db_test PRIVATE ${target_name})

include_directories(
    ${QLAYOUT_SDK}/plugins/gdstk-0.9.53/include
)

if(CMAKE_BUILD_TYPE STREQUAL "Debug")
    target_link_libraries(db_test PRIVATE ${QLAYOUT_SDK}/debug/lib/gdstkd.lib)
else()
    target_link_libraries(db_test PRIVATE ${QLAYOUT_SDK}/lib/gdstk.lib)
endif()

target_include_directories(db_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../kernel)
target_link_libraries(db_test PRIVATE ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/qlib.lib)